package com.设计模式.适配器模式.对象适配器;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/2  9:08
 * 描述:
 */
public class TestAdapter implements TargetInterface{

    private Source02 source02;

    public TestAdapter(Source02 source02) {
        this.source02 = source02;
    }


    @Override
    public void test01() {

    }

    @Override
    public void test02() {
        source02.test02();
    }
}
